package com.rankeiot.core.util.castor;

@SuppressWarnings("AlibabaConstantFieldShouldBeUpperCase")
public class StringCastor implements Castor<String> {
    public static final StringCastor instance=new StringCastor();
    private StringCastor(){}
    @Override
    public String cast(Object v) {
        if(v==null){
            return null;
        }
        return v.toString();
    }
}
